Termination w.r.t. Q of the following Term Rewriting System could not be shown:

Q restricted rewrite system:
The TRS R consists of the following rules:

minus2(x, y) -> cond3(ge2(x, s1(y)), x, y)
cond3(false, x, y) -> 0
cond3(true, x, y) -> s1(minus2(x, s1(y)))
ge2(u, 0) -> true
ge2(0, s1(v)) -> false
ge2(s1(u), s1(v)) -> ge2(u, v)

The set Q consists of the following terms:

ge2(x0, 0)
minus2(x0, x1)
ge2(0, s1(x0))
ge2(s1(x0), s1(x1))
cond3(true, x0, x1)
cond3(false, x0, x1)



QTRS
  ↳ DependencyPairsProof

Q restricted rewrite system:
The TRS R consists of the following rules:

minus2(x, y) -> cond3(ge2(x, s1(y)), x, y)
cond3(false, x, y) -> 0
cond3(true, x, y) -> s1(minus2(x, s1(y)))
ge2(u, 0) -> true
ge2(0, s1(v)) -> false
ge2(s1(u), s1(v)) -> ge2(u, v)

The set Q consists of the following terms:

ge2(x0, 0)
minus2(x0, x1)
ge2(0, s1(x0))
ge2(s1(x0), s1(x1))
cond3(true, x0, x1)
cond3(false, x0, x1)


Using Dependency Pairs [1,13] we result in the following initial DP problem:
Q DP problem:
The TRS P consists of the following rules:

MINUS2(x, y) -> COND3(ge2(x, s1(y)), x, y)
COND3(true, x, y) -> MINUS2(x, s1(y))
MINUS2(x, y) -> GE2(x, s1(y))
GE2(s1(u), s1(v)) -> GE2(u, v)

The TRS R consists of the following rules:

minus2(x, y) -> cond3(ge2(x, s1(y)), x, y)
cond3(false, x, y) -> 0
cond3(true, x, y) -> s1(minus2(x, s1(y)))
ge2(u, 0) -> true
ge2(0, s1(v)) -> false
ge2(s1(u), s1(v)) -> ge2(u, v)

The set Q consists of the following terms:

ge2(x0, 0)
minus2(x0, x1)
ge2(0, s1(x0))
ge2(s1(x0), s1(x1))
cond3(true, x0, x1)
cond3(false, x0, x1)

We have to consider all minimal (P,Q,R)-chains.

↳ QTRS
  ↳ DependencyPairsProof
QDP
      ↳ DependencyGraphProof

Q DP problem:
The TRS P consists of the following rules:

MINUS2(x, y) -> COND3(ge2(x, s1(y)), x, y)
COND3(true, x, y) -> MINUS2(x, s1(y))
MINUS2(x, y) -> GE2(x, s1(y))
GE2(s1(u), s1(v)) -> GE2(u, v)

The TRS R consists of the following rules:

minus2(x, y) -> cond3(ge2(x, s1(y)), x, y)
cond3(false, x, y) -> 0
cond3(true, x, y) -> s1(minus2(x, s1(y)))
ge2(u, 0) -> true
ge2(0, s1(v)) -> false
ge2(s1(u), s1(v)) -> ge2(u, v)

The set Q consists of the following terms:

ge2(x0, 0)
minus2(x0, x1)
ge2(0, s1(x0))
ge2(s1(x0), s1(x1))
cond3(true, x0, x1)
cond3(false, x0, x1)

We have to consider all minimal (P,Q,R)-chains.
The approximation of the Dependency Graph [13,14,18] contains 2 SCCs with 1 less node.

↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ AND
QDP
            ↳ UsableRulesProof
          ↳ QDP

Q DP problem:
The TRS P consists of the following rules:

GE2(s1(u), s1(v)) -> GE2(u, v)

The TRS R consists of the following rules:

minus2(x, y) -> cond3(ge2(x, s1(y)), x, y)
cond3(false, x, y) -> 0
cond3(true, x, y) -> s1(minus2(x, s1(y)))
ge2(u, 0) -> true
ge2(0, s1(v)) -> false
ge2(s1(u), s1(v)) -> ge2(u, v)

The set Q consists of the following terms:

ge2(x0, 0)
minus2(x0, x1)
ge2(0, s1(x0))
ge2(s1(x0), s1(x1))
cond3(true, x0, x1)
cond3(false, x0, x1)

We have to consider all minimal (P,Q,R)-chains.
As all Q-normal forms are R-normal forms we are in the innermost case. Hence, by the usable rules processor [13] we can delete all non-usable rules [14] from R.

↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ AND
          ↳ QDP
            ↳ UsableRulesProof
QDP
                ↳ QReductionProof
          ↳ QDP

Q DP problem:
The TRS P consists of the following rules:

GE2(s1(u), s1(v)) -> GE2(u, v)

R is empty.
The set Q consists of the following terms:

ge2(x0, 0)
minus2(x0, x1)
ge2(0, s1(x0))
ge2(s1(x0), s1(x1))
cond3(true, x0, x1)
cond3(false, x0, x1)

We have to consider all minimal (P,Q,R)-chains.
We deleted the following terms from Q as each root-symbol of these terms does neither occur in P nor in R.

ge2(x0, 0)
minus2(x0, x1)
ge2(0, s1(x0))
ge2(s1(x0), s1(x1))
cond3(true, x0, x1)
cond3(false, x0, x1)



↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ AND
          ↳ QDP
            ↳ UsableRulesProof
              ↳ QDP
                ↳ QReductionProof
QDP
                    ↳ QDPSizeChangeProof
          ↳ QDP

Q DP problem:
The TRS P consists of the following rules:

GE2(s1(u), s1(v)) -> GE2(u, v)

R is empty.
Q is empty.
We have to consider all minimal (P,Q,R)-chains.
By using the subterm criterion [16] together with the size-change analysis [27] we have proven that there are no infinite chains for this DP problem.

From the DPs we obtained the following set of size-change graphs:



↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ AND
          ↳ QDP
QDP
            ↳ UsableRulesProof
            ↳ UsableRulesProof

Q DP problem:
The TRS P consists of the following rules:

MINUS2(x, y) -> COND3(ge2(x, s1(y)), x, y)
COND3(true, x, y) -> MINUS2(x, s1(y))

The TRS R consists of the following rules:

minus2(x, y) -> cond3(ge2(x, s1(y)), x, y)
cond3(false, x, y) -> 0
cond3(true, x, y) -> s1(minus2(x, s1(y)))
ge2(u, 0) -> true
ge2(0, s1(v)) -> false
ge2(s1(u), s1(v)) -> ge2(u, v)

The set Q consists of the following terms:

ge2(x0, 0)
minus2(x0, x1)
ge2(0, s1(x0))
ge2(s1(x0), s1(x1))
cond3(true, x0, x1)
cond3(false, x0, x1)

We have to consider all minimal (P,Q,R)-chains.
As all Q-normal forms are R-normal forms we are in the innermost case. Hence, by the usable rules processor [13] we can delete all non-usable rules [14] from R.

↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ AND
          ↳ QDP
          ↳ QDP
            ↳ UsableRulesProof
QDP
                ↳ QReductionProof
            ↳ UsableRulesProof

Q DP problem:
The TRS P consists of the following rules:

MINUS2(x, y) -> COND3(ge2(x, s1(y)), x, y)
COND3(true, x, y) -> MINUS2(x, s1(y))

The TRS R consists of the following rules:

ge2(0, s1(v)) -> false
ge2(s1(u), s1(v)) -> ge2(u, v)
ge2(u, 0) -> true

The set Q consists of the following terms:

ge2(x0, 0)
minus2(x0, x1)
ge2(0, s1(x0))
ge2(s1(x0), s1(x1))
cond3(true, x0, x1)
cond3(false, x0, x1)

We have to consider all minimal (P,Q,R)-chains.
We deleted the following terms from Q as each root-symbol of these terms does neither occur in P nor in R.

minus2(x0, x1)
cond3(true, x0, x1)
cond3(false, x0, x1)



↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ AND
          ↳ QDP
          ↳ QDP
            ↳ UsableRulesProof
              ↳ QDP
                ↳ QReductionProof
QDP
                    ↳ Narrowing
            ↳ UsableRulesProof

Q DP problem:
The TRS P consists of the following rules:

MINUS2(x, y) -> COND3(ge2(x, s1(y)), x, y)
COND3(true, x, y) -> MINUS2(x, s1(y))

The TRS R consists of the following rules:

ge2(0, s1(v)) -> false
ge2(s1(u), s1(v)) -> ge2(u, v)
ge2(u, 0) -> true

The set Q consists of the following terms:

ge2(x0, 0)
ge2(0, s1(x0))
ge2(s1(x0), s1(x1))

We have to consider all minimal (P,Q,R)-chains.
By narrowing [13] the rule MINUS2(x, y) -> COND3(ge2(x, s1(y)), x, y) at position [0] we obtained the following new rules:

MINUS2(0, x0) -> COND3(false, 0, x0)
MINUS2(s1(x0), x1) -> COND3(ge2(x0, x1), s1(x0), x1)



↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ AND
          ↳ QDP
          ↳ QDP
            ↳ UsableRulesProof
              ↳ QDP
                ↳ QReductionProof
                  ↳ QDP
                    ↳ Narrowing
QDP
                        ↳ DependencyGraphProof
            ↳ UsableRulesProof

Q DP problem:
The TRS P consists of the following rules:

MINUS2(0, x0) -> COND3(false, 0, x0)
COND3(true, x, y) -> MINUS2(x, s1(y))
MINUS2(s1(x0), x1) -> COND3(ge2(x0, x1), s1(x0), x1)

The TRS R consists of the following rules:

ge2(0, s1(v)) -> false
ge2(s1(u), s1(v)) -> ge2(u, v)
ge2(u, 0) -> true

The set Q consists of the following terms:

ge2(x0, 0)
ge2(0, s1(x0))
ge2(s1(x0), s1(x1))

We have to consider all minimal (P,Q,R)-chains.
The approximation of the Dependency Graph [13,14,18] contains 1 SCC with 1 less node.

↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ AND
          ↳ QDP
          ↳ QDP
            ↳ UsableRulesProof
              ↳ QDP
                ↳ QReductionProof
                  ↳ QDP
                    ↳ Narrowing
                      ↳ QDP
                        ↳ DependencyGraphProof
QDP
                            ↳ Instantiation
            ↳ UsableRulesProof

Q DP problem:
The TRS P consists of the following rules:

COND3(true, x, y) -> MINUS2(x, s1(y))
MINUS2(s1(x0), x1) -> COND3(ge2(x0, x1), s1(x0), x1)

The TRS R consists of the following rules:

ge2(0, s1(v)) -> false
ge2(s1(u), s1(v)) -> ge2(u, v)
ge2(u, 0) -> true

The set Q consists of the following terms:

ge2(x0, 0)
ge2(0, s1(x0))
ge2(s1(x0), s1(x1))

We have to consider all minimal (P,Q,R)-chains.
By instantiating [13] the rule MINUS2(s1(x0), x1) -> COND3(ge2(x0, x1), s1(x0), x1) we obtained the following new rules:

MINUS2(s1(x0), s1(z1)) -> COND3(ge2(x0, s1(z1)), s1(x0), s1(z1))



↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ AND
          ↳ QDP
          ↳ QDP
            ↳ UsableRulesProof
              ↳ QDP
                ↳ QReductionProof
                  ↳ QDP
                    ↳ Narrowing
                      ↳ QDP
                        ↳ DependencyGraphProof
                          ↳ QDP
                            ↳ Instantiation
QDP
                                ↳ Instantiation
            ↳ UsableRulesProof

Q DP problem:
The TRS P consists of the following rules:

MINUS2(s1(x0), s1(z1)) -> COND3(ge2(x0, s1(z1)), s1(x0), s1(z1))
COND3(true, x, y) -> MINUS2(x, s1(y))

The TRS R consists of the following rules:

ge2(0, s1(v)) -> false
ge2(s1(u), s1(v)) -> ge2(u, v)
ge2(u, 0) -> true

The set Q consists of the following terms:

ge2(x0, 0)
ge2(0, s1(x0))
ge2(s1(x0), s1(x1))

We have to consider all minimal (P,Q,R)-chains.
By instantiating [13] the rule COND3(true, x, y) -> MINUS2(x, s1(y)) we obtained the following new rules:

COND3(true, s1(z0), s1(z1)) -> MINUS2(s1(z0), s1(s1(z1)))



↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ AND
          ↳ QDP
          ↳ QDP
            ↳ UsableRulesProof
              ↳ QDP
                ↳ QReductionProof
                  ↳ QDP
                    ↳ Narrowing
                      ↳ QDP
                        ↳ DependencyGraphProof
                          ↳ QDP
                            ↳ Instantiation
                              ↳ QDP
                                ↳ Instantiation
QDP
            ↳ UsableRulesProof

Q DP problem:
The TRS P consists of the following rules:

MINUS2(s1(x0), s1(z1)) -> COND3(ge2(x0, s1(z1)), s1(x0), s1(z1))
COND3(true, s1(z0), s1(z1)) -> MINUS2(s1(z0), s1(s1(z1)))

The TRS R consists of the following rules:

ge2(0, s1(v)) -> false
ge2(s1(u), s1(v)) -> ge2(u, v)
ge2(u, 0) -> true

The set Q consists of the following terms:

ge2(x0, 0)
ge2(0, s1(x0))
ge2(s1(x0), s1(x1))

We have to consider all minimal (P,Q,R)-chains.
As all Q-normal forms are R-normal forms we are in the innermost case. Hence, by the usable rules processor [13] we can delete all non-usable rules [14] from R.

↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ AND
          ↳ QDP
          ↳ QDP
            ↳ UsableRulesProof
            ↳ UsableRulesProof
QDP
                ↳ QReductionProof

Q DP problem:
The TRS P consists of the following rules:

MINUS2(x, y) -> COND3(ge2(x, s1(y)), x, y)
COND3(true, x, y) -> MINUS2(x, s1(y))

The TRS R consists of the following rules:

ge2(0, s1(v)) -> false
ge2(s1(u), s1(v)) -> ge2(u, v)
ge2(u, 0) -> true

The set Q consists of the following terms:

ge2(x0, 0)
minus2(x0, x1)
ge2(0, s1(x0))
ge2(s1(x0), s1(x1))
cond3(true, x0, x1)
cond3(false, x0, x1)

We have to consider all minimal (P,Q,R)-chains.
We deleted the following terms from Q as each root-symbol of these terms does neither occur in P nor in R.

minus2(x0, x1)
cond3(true, x0, x1)
cond3(false, x0, x1)



↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ AND
          ↳ QDP
          ↳ QDP
            ↳ UsableRulesProof
            ↳ UsableRulesProof
              ↳ QDP
                ↳ QReductionProof
QDP

Q DP problem:
The TRS P consists of the following rules:

MINUS2(x, y) -> COND3(ge2(x, s1(y)), x, y)
COND3(true, x, y) -> MINUS2(x, s1(y))

The TRS R consists of the following rules:

ge2(0, s1(v)) -> false
ge2(s1(u), s1(v)) -> ge2(u, v)
ge2(u, 0) -> true

The set Q consists of the following terms:

ge2(x0, 0)
ge2(0, s1(x0))
ge2(s1(x0), s1(x1))

We have to consider all minimal (P,Q,R)-chains.